package com.hhkj.study.admin.teacher.service.extend;

import com.hhkj.study.admin.teacher.entity.Teacher;
import com.hhkj.study.admin.teacher.model.podo.TeacherDo;
import com.hhkj.study.admin.teacher.model.podo.TeacherPo;
import com.ruoyi.common.base.biz.service.extend.BaseExtendService;

import java.util.List;

/**
*
* @author SERVER
* @since 2024-09-06
*/

public interface TeacherExtendService extends BaseExtendService<Teacher, TeacherDo, TeacherPo> {

    /**
     * 通过名称查询老师
     * @param name
     * @return
     */
    Teacher getByName(String name);

    /**
     * 在已有的所有老师中获取符合老师id列表中的老师列表
     * @param teacherIdList
     * @param teacherList
     * @return
     */
    List<Teacher> getTeacherList(List<Long> teacherIdList, List<Teacher> teacherList);
}